<br />

<div class="adminpagesidediv">

    <div class="adminsidelink">
      <h4>CHURCH SUMMARY</h4>
      <div class="linkborder" style="text-align: left;">
      <ul class="adminlist">
          <li>Update Church Info</li>
          <li>Update Pastor Info</li>
      </ul>
      </div>
	  
	  <h4>ADMIN INSIGHTS</h4>
      <div class="linkborder" style="text-align: left;">
      <ul class="adminlist">
          <li>Add New Church</li>
      </ul>
      </div>

	  <h4>ANNOUNCEMENTS</h4>
      <div class="linkborder" style="text-align: left;">
      <ul class="adminlist">
          <li>Create New Announcement</li>
          <li>Update Announcements</li>
      </ul>
      </div>

	  <h4>ACTIVITIES</h4>
      <div class="linkborder" style="text-align: left;">
      <ul class="adminlist">
          <li>Create New Activity</li>
          <li>Update Activities</li>
      </ul>
      </div>

	  <h4>OTHERS</h4>
      <div class="linkborder" style="text-align: left;">
      <ul class="adminlist">
          <li>Sectional Updates</li>
      </ul>
      </div>
	  
    </div>
</div>


<div class="adminpagediv">

	<div class="backprevloc1">
	<i>District Presbyter / Insights</i>
	</div>


	<div class="insightinfo">
	<span class="insight_item">Total Members</span><br />
	<span class="insight_itemvalue">500</span>
	</div>

	<div class="insightinfo">
	<span class="insight_item">Newly Baptized</span><br />
	<span class="insight_itemvalue">50 </span><img src="{ci_config name='base_url'}themes/images/smallicons/up.png" /><span class="insight_item1"> October 2011</span>
	</div>
	
	<div class="insightgraphdiv">
				<table class="stats" data-chart="line">
					<caption>2009-2013 EVD Members</caption>
					<thead>
							<tr>
								<td>&nbsp;</td>
								<th>2009</th>
								<th>2010</th>
								<th>2011</th>
								<th>2012</th>
								<th>2013</th>
							</tr>

						</thead>
						
						<tbody>
							<tr>
								<th>Members</th>
								<td>15090</td>
								<td>18750</td>
								<td>23500</td>
								<td>26700</td>
								<td>36777</td>
							</tr>
							<tr>
								<th>Baptized</th>
								<td>5000</td>
								<td>10000</td>
								<td>6570</td>
								<td>7777</td>
								<td>15785</td>
							</tr>							
						</tbody>
				</table>
	</div>
	
	
	
	<div class="backprevloc">
	<i>Church Info</i>
	<div class="formbutton"><input class="btn btn-small" type="button" value="Edit" onClick="window.location.href='/admin/church_edit'"></div>
	</div>

	<div class="infogroup">
		<div class="infogroup1">
			<div class="infolabel">Church Name</div>	
			<div class="infovalue">{$church->church_full_name}</div>
		</div>
		<div class="infogroup1">
			<div class="infolabel">Name of Pastor</div>
			<div class="infovalue">{$user->getPastorNameWithTitle()}</div>
		</div>
		<div class="infogroup1">		
			<div class="infolabel">Section</div>
			<div class="infovalue">{$section->section_name}</div>
		</div>
		<div class="infogroup1">
			<div class="infolabel">Address</div>
			<div class="infovalue">{$address->display()}</div>
		</div>
		<div class="infogroup1">
			<div class="infolabel">Landline</div>
			<div class="infovalue">{$address->address_contact_number}</div>
		</div>
		
		<div class="infogroup1">
			<div class="infolabel">Website</div>
			<div class="infovalue">{if $church->church_website != ''}{$church->church_website}{else}-{/if}</div>
		</div>
		<div class="infogroup1">
			<div class="infolabel">Number of Members</div>
			<div class="infovalue">{$church->church_number_of_members}</div>
		</div>
		<div class="infogroup1">
			<div class="labeldiv">
			<div class="infolabel">Social Sites</div>
			</div>
			{foreach from=$socials item="social"}
			<div class="infovalue"><img src="{ci_config name='base_url'}themes/images/socialsmall/{$social->social_type->social_type_name}.png"> <a href="http://{$social->social_type->social_type_name}.com/{$social->social_link}">http://{$social->social_type->social_type_name}.com/{$social->social_link}</a></div>
			{/foreach}
		</div>
		
	</div>
	
	
	<div class="backprevloc">
	<i>Personal Info</i>
	<div class="formbutton"><input class="btn btn-small" type="button" value="Edit" onClick="window.location.href='/admin/pastor_edit'"></div>
	</div>	
	
	<div class="infogroup">
		<div class="infogroup1">
			<div class="infolabel">Name of Pastor</div>
			<div class="infovalue">{$user->getPastorNameWithTitle()}</div>
		</div>
		<div class="infogroup1">
			<div class="infolabel">Address</div>
			<div class="infovalue">{$address->display()}</div>
		</div>
		<div class="infogroup1">
			<div class="infolabel">Mobile</div>
			<div class="infovalue">0900-123-4567</div>
		</div>
		<div class="infogroup1">
			<div class="infolabel">Email</div>
			<div class="infovalue">{$user->user_email}</div>
		</div>
		<div class="infogroup1">
			<div class="labeldiv">
			<div class="infolabel">Social Sites</div>
			</div>
			{foreach from=$socials item="social"}
			<div class="infovalue"><img src="{ci_config name='base_url'}themes/images/socialsmall/{$social->social_type->social_type_name}.png"> <a href="http://{$social->social_type->social_type_name}.com/{$social->social_link}">http://{$social->social_type->social_type_name}.com/{$social->social_link}</a></div>
			{/foreach}
			
		</div>
		
	</div>	
	

	<div class="backprevloc">
	<i>Others</i>
	</div>	
	
		
	<div class="othersdiv">
	<span class="infolabel">Announcements</span>
		<div class="tablehead1"></div>	
		<div class="admintable">
			<div class="tablerowadmin">
				<div class="searchedadmin">If the afternoon is stormy, the tournament will be postponed two weeks.</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">October 24, 2011</div>
				<div class="searchedadmin3">
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/>
				</div>
			</div>	
			<div class="tablerowadmin2">
				<div class="searchedadmin">he tournament will be postponed two weeks.</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">November 24, 2011</div>
				<div class="searchedadmin3">				
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/></div>
			</div>	
			<div class="tablerowadmin">
				<div class="searchedadmin">the afternoon is stormy</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">December 24, 2011</div>
				<div class="searchedadmin3">				
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/></div>
			</div>	
			<div class="tablerowadmin2">
				<div class="searchedadmin">the tournament will be postponed</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">January 24, 2012</div>
				<div class="searchedadmin3">				
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/></div>
			</div>	
		</div>
	</div>
	
	<div class="othersdiv">	
	<span class="infolabel">Activities</span>
		<div class="tablehead1"></div>	
		<div class="admintable">
			<div class="tablerowadmin">
				<div class="searchedadmin">If the afternoon is stormy, the tournament will be postponed two weeks.If the afternoon is stormy, the tournament will be postponed two weeks.If the afternoon is stormy, the tournament will be postponed two weeks.If the afternoon is stormy, the tournament will be postponed two weeks.If the afternoon is stormy, the tournament will be postponed two weeks.If the afternoon is stormy, the tournament will be postponed two weeks.</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">October 24, 2011</div>
				<div class="searchedadmin3">
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/>
				</div>
			</div>	
			<div class="tablerowadmin2">
				<div class="searchedadmin">he tournament will be postponed two weeks.</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">November 24, 2011</div>
				<div class="searchedadmin3">				
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/></div>
			</div>	
			<div class="tablerowadmin">
				<div class="searchedadmin">the afternoon is stormy</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">December 24, 2011</div>
				<div class="searchedadmin3">				
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/></div>
			</div>	
			<div class="tablerowadmin2">
				<div class="searchedadmin">the tournament will be postponed</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">January 24, 2012</div>
				<div class="searchedadmin3">				
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/></div>
			</div>	
		</div>
	</div>
	
	<div class="othersdiv">	
	<span class="infolabel">Events</span>
		<div class="tablehead1"></div>	
		<div class="admintable">
			<div class="tablerowadmin">
				<div class="searchedadmin">If the afternoon is stormy, the tournament will be postponed two weeks.</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">October 24, 2011</div>
				<div class="searchedadmin3">
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/>
				</div>
			</div>	
			<div class="tablerowadmin2">
				<div class="searchedadmin">he tournament will be postponed two weeks.</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">November 24, 2011</div>
				<div class="searchedadmin3">				
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/></div>
			</div>	
			<div class="tablerowadmin">
				<div class="searchedadmin">the afternoon is stormy</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">December 24, 2011</div>
				<div class="searchedadmin3">				
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/></div>
			</div>	
			<div class="tablerowadmin2">
				<div class="searchedadmin">the tournament will be postponed</div>
				<div class="searchedadmin1">Rev. Amado M. Perez</div>
				<div class="searchedadmin2">January 24, 2012</div>
				<div class="searchedadmin3">				
				<img src="{ci_config name='base_url'}themes/images/smallicons/edit.png" width="16" height="16"/>
				<img src="{ci_config name='base_url'}themes/images/smallicons/remove.png" width="16" height="16"/></div>
			</div>	
		</div>
	</div>
</div>





<script>
	
$(document).ready ( function () 
{
	Dashboard.init ();			
		
	$('.accordion_container').accordion ();

	$('.tab_container').tabs ();	
	
	$('#datepicker').datepicker();
	
	$( "#progressbar" ).progressbar({ value: 59 });
		
	$('#slider-range').slider({
		range: true,
		min: 0,
		max: 500,
		values: [ 75, 300 ],
		slide: function( event, ui ) {
			$( "#amount" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] );
		}
	});
	
	$( "#amount" ).val( "$" + $( "#slider-range" ).slider( "values", 0 ) + " - $" + $( "#slider-range" ).slider( "values", 1 ) );

});

</script>


